import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        while (sc.hasNext()){
            int num=0;
            int n=sc.nextInt();
            for (int i = 2; i <=Math.sqrt(n) ; i++) {
                if (n%i==0){
                    num++;
                    while (n%i==0){
                        n=n/i;
                    }
                }
            }
            //
            if (n!=1){
                num++;
            }
            System.out.println(num);
        }
    }
}
